package cn.lutu.alipay.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.sql.Timestamp;
import java.time.LocalDateTime;

@Data
@TableName("t_order")
public class AlipayOrder {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String subject;
    private Long subjectId;
    private String orderNo;
    private Double totalAmount;
    private String status;
    private String payType;
    private Long userId;
    private String useName;
    private Integer useStatus;
    private String email;
    private String phone;
    private Integer quantity;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    private Long categoryId;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
}
